Skip to main content

DescribePropertyCount

Description

call the DescribePropertyCount interface to obtain statistical information of asset fingerprints, I .e. statistics of the number of five asset fingerprints: process, port, software, account and planning task.

Request Method

POST

Request Path

/apsara/route/Sas/DescribePropertyCount

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypeBODYstringNoportasset fingerprint type. Optional: user: account software: software process: process port: port cron: scheduled task description type is not filled to query fingerprint information of all types of assets.
regionIdBODYstringYesNo sample value for this parameter.region id
UuidListBODYstringNo[c4678332-ef3**,c46***]unique ID list of asset instances.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
Userinteger114statistics on the number of account assets.
RequestIdstring7E0618A9-D5EF-4220-9471-C42B5E92719Frequest ID of the result.
Portinteger163statistics on the number of listening ports.
Processinteger367statistics on the number of running processes.
Softwareinteger5073statistics on the number of software assets.
Croninteger261statistics on the number of scheduled tasks.

Example

Successful Response example

{
"User":"114",
"RequestId":"7E0618A9-D5EF-4220-9471-C42B5E92719F",
"Port":"163",
"Process":"367",
"Software":"5073",
"Cron":"261"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}